<?php

return [
    'event_loop' => '',
    'process' => [
        'httpServer' => [
            'handler' => \llkphp\workerman\process\http\Handler::class,
            'count'   => 1,
            'listen'  => 'http://0.0.0.0:8081',
            'user'    => 'root',
            'stopTimeout' => 2,
            'defaultMaxPackageSize' => 10 * 1024 * 1024,
            'construct' => [
                'config' => [
                    'serverName' => 'server',
                    'maxRequestCount' => 10000,
                    'allowAccessStatic' => true
                ]
            ]
        ],
        'timing' => [
            'handler' => \llkphp\workerman\process\timing\Handler::class,
            'count' => 1,
            'user' => 'root'
        ]
    ]
];